package com.itheima.charstream;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

public class Demo10 {

    public static void main(String[] args) throws IOException {
        //写
        BufferedWriter writer = new BufferedWriter(new FileWriter("day13\\e.txt"));
        writer.write("锄禾日当午");
        writer.newLine();
        writer.write("汗滴禾下土");
        writer.newLine();
        writer.write("谁知盘中餐");
        writer.newLine();
        writer.write("粒粒皆辛苦");
        writer.newLine();
        writer.close();


    }
}
